
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>第2节：目录结构与典型模板 · 开发文档</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="kim">
        <meta name="identifier" content="开发文档" scheme="ISBN">
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="../styles/website.css">
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="布局.html" />
    
    
    <link rel="prev" href="framework_introduction_startup.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="https://www.zbtservices.com/" target="_blank" class="custom-link">洲博通官网</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    前言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="./">
            
                <a href="./">
            
                    
                    第一章 项目框架
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="framework_introduction_startup.html">
            
                <a href="framework_introduction_startup.html">
            
                    
                    第1节：框架介绍与启动
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.2.2" data-path="catalog_structure_typical_templates.html">
            
                <a href="catalog_structure_typical_templates.html">
            
                    
                    第2节：目录结构与典型模板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="布局.html">
            
                <a href="布局.html">
            
                    
                    第3节：布局
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="行.md">
            
                <span>
            
                    
                    第4节：行
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="自定义.html">
            
                <a href="自定义.html">
            
                    
                    第5节：自定义
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../Chapter2/">
            
                <a href="../Chapter2/">
            
                    
                    第二章
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../Chapter3/">
            
                <a href="../Chapter3/">
            
                    
                    第三章
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../Chapter4/">
            
                <a href="../Chapter4/">
            
                    
                    第四章
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >第2节：目录结构与典型模板</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h2 id="&#x7B2C;2&#x8282;&#xFF1A;&#x76EE;&#x5F55;&#x7ED3;&#x6784;&#x4E0E;&#x5178;&#x578B;&#x6A21;&#x677F;">&#x7B2C;2&#x8282;&#xFF1A;&#x76EE;&#x5F55;&#x7ED3;&#x6784;&#x4E0E;&#x5178;&#x578B;&#x6A21;&#x677F;</h2>
<p>&#x6211;&#x4EEC;&#x6709;&#x4E00;&#x4E2A;&#x5B8C;&#x6574;&#x7684;&#x5F00;&#x53D1;&#x6846;&#x67B6;&#xFF0C;&#x63D0;&#x4F9B;&#x4E86;&#x6DB5;&#x76D6;&#x4E2D;&#x540E;&#x53F0;&#x5F00;&#x53D1;&#x7684;&#x5404;&#x7C7B;&#x529F;&#x80FD;&#x548C;&#x5751;&#x4F4D;&#xFF0C;&#x4E0B;&#x9762;&#x662F;&#x6574;&#x4E2A;&#x9879;&#x76EE;&#x7684;&#x76EE;&#x5F55;&#x7ED3;&#x6784;&#x3002;</p>
<pre><code class="lang-bash">&#x251C;&#x2500;&#x2500; config                           
&#x2502;   &#x2514;&#x2500;&#x2500; config.js                    <span class="hljs-comment"># umi &#x914D;&#x7F6E;&#xFF0C;&#x5305;&#x542B;&#x8DEF;&#x7531;&#xFF0C;&#x6784;&#x5EFA;&#x7B49;&#x914D;&#x7F6E;</span>
&#x2502;   &#x2514;&#x2500;&#x2500; defaultSettings.js           <span class="hljs-comment"># &#x9ED8;&#x8BA4;&#x4E3B;&#x9898;&#x3001;&#x5E03;&#x5C40;&#x3001;&#x989C;&#x8272;&#x8BBE;&#x7F6E;</span>
&#x2502;   &#x2514;&#x2500;&#x2500; plugin.config.js             <span class="hljs-comment"># &#x63D2;&#x4EF6;&#x914D;&#x7F6E;</span>
&#x2502;   &#x2514;&#x2500;&#x2500; web.domain.config.js         <span class="hljs-comment"># &#x8BF7;&#x6C42;&#x63A5;&#x53E3;&#x7684;&#x57DF;&#x540D;&#x914D;&#x7F6E;</span>
&#x251C;&#x2500;&#x2500; mock                             <span class="hljs-comment"># &#x672C;&#x5730;&#x6A21;&#x62DF;&#x6570;&#x636E;</span>
&#x251C;&#x2500;&#x2500; public
&#x2502;   &#x2514;&#x2500;&#x2500; favicon.png                  <span class="hljs-comment"># Favicon</span>
&#x251C;&#x2500;&#x2500; src
&#x2502;   &#x251C;&#x2500;&#x2500; assets                       <span class="hljs-comment"># &#x672C;&#x5730;&#x9759;&#x6001;&#x8D44;&#x6E90;</span>
&#x2502;   &#x251C;&#x2500;&#x2500; components                   <span class="hljs-comment"># &#x4E1A;&#x52A1;&#x901A;&#x7528;&#x7EC4;&#x4EF6;</span>
&#x2502;   &#x251C;&#x2500;&#x2500; e2e                          <span class="hljs-comment"># &#x96C6;&#x6210;&#x6D4B;&#x8BD5;&#x7528;&#x4F8B;</span>
&#x2502;   &#x251C;&#x2500;&#x2500; layouts                      <span class="hljs-comment"># &#x901A;&#x7528;&#x5E03;&#x5C40;</span>
&#x2502;   &#x251C;&#x2500;&#x2500; models                       <span class="hljs-comment"># &#x5168;&#x5C40; dva model</span>
&#x2502;   &#x251C;&#x2500;&#x2500; pages                        <span class="hljs-comment"># &#x4E1A;&#x52A1;&#x9875;&#x9762;&#x5165;&#x53E3;&#x548C;&#x5E38;&#x7528;&#x6A21;&#x677F;</span>
&#x2502;   &#x251C;&#x2500;&#x2500; services                     <span class="hljs-comment"># &#x540E;&#x53F0;&#x63A5;&#x53E3;&#x670D;&#x52A1;</span>
&#x2502;   &#x251C;&#x2500;&#x2500; utils                        <span class="hljs-comment"># &#x5DE5;&#x5177;&#x5E93;</span>
&#x2502;   &#x251C;&#x2500;&#x2500; locales                      <span class="hljs-comment"># &#x56FD;&#x9645;&#x5316;&#x8D44;&#x6E90;</span>
&#x2502;   &#x251C;&#x2500;&#x2500; global.less                  <span class="hljs-comment"># &#x5168;&#x5C40;&#x6837;&#x5F0F;</span>
&#x2502;   &#x2514;&#x2500;&#x2500; global.js                    <span class="hljs-comment"># &#x5168;&#x5C40; JS</span>
&#x251C;&#x2500;&#x2500; tests                            <span class="hljs-comment"># &#x6D4B;&#x8BD5;&#x5DE5;&#x5177;</span>
&#x251C;&#x2500;&#x2500; README.md
&#x2514;&#x2500;&#x2500; package.json
</code></pre>
<h2 id="&#x5178;&#x578B;&#x6A21;&#x677F;">&#x5178;&#x578B;&#x6A21;&#x677F;</h2>
<p>Ant Design Pro &#x662F;&#x4E00;&#x4E2A;&#x4F01;&#x4E1A;&#x7EA7;&#x4E2D;&#x540E;&#x53F0;&#x524D;&#x7AEF;/&#x8BBE;&#x8BA1;&#x89E3;&#x51B3;&#x65B9;&#x6848;&#xFF0C;&#x6211;&#x4EEC;&#x79C9;&#x627F; <a href="http://ant.design/" target="_blank">Ant Design</a> &#x7684;&#x8BBE;&#x8BA1;&#x4EF7;&#x503C;&#x89C2;&#xFF0C;&#x81F4;&#x529B;&#x4E8E;&#x5728;&#x8BBE;&#x8BA1;&#x89C4;&#x8303;&#x548C;&#x57FA;&#x7840;&#x7EC4;&#x4EF6;&#x7684;&#x57FA;&#x7840;&#x4E0A;&#xFF0C;&#x7EE7;&#x7EED;&#x5411;&#x4E0A;&#x6784;&#x5EFA;&#xFF0C;&#x63D0;&#x70BC;&#x51FA;&#x5178;&#x578B;&#x6A21;&#x677F;/&#x4E1A;&#x52A1;&#x7EC4;&#x4EF6;/&#x914D;&#x5957;&#x8BBE;&#x8BA1;&#x8D44;&#x6E90;&#xFF0C;&#x8FDB;&#x4E00;&#x6B65;&#x63D0;&#x5347;&#x4F01;&#x4E1A;&#x7EA7;&#x4E2D;&#x540E;&#x53F0;&#x4EA7;&#x54C1;&#x8BBE;&#x8BA1;&#x7814;&#x53D1;&#x8FC7;&#x7A0B;&#x4E2D;&#x7684;&#x300E;&#x7528;&#x6237;&#x300F;&#x548C;&#x300E;&#x8BBE;&#x8BA1;&#x8005;&#x300F;&#x7684;&#x4F53;&#x9A8C;&#x3002;&#x968F;&#x7740;&#x300E;&#x8BBE;&#x8BA1;&#x8005;&#x300F;&#x7684;&#x4E0D;&#x65AD;&#x53CD;&#x9988;&#xFF0C;&#x6211;&#x4EEC;&#x5C06;&#x6301;&#x7EED;&#x8FED;&#x4EE3;&#xFF0C;&#x9010;&#x6B65;&#x6C89;&#x6DC0;&#x548C;&#x603B;&#x7ED3;&#x51FA;&#x66F4;&#x591A;&#x8BBE;&#x8BA1;&#x6A21;&#x5F0F;&#x548C;&#x76F8;&#x5E94;&#x7684;&#x4EE3;&#x7801;&#x5B9E;&#x73B0;&#xFF0C;&#x9610;&#x8FF0;&#x4E2D;&#x540E;&#x53F0;&#x4EA7;&#x54C1;&#x6A21;&#x677F;/&#x7EC4;&#x4EF6;/&#x4E1A;&#x52A1;&#x573A;&#x666F;&#x7684;&#x6700;&#x4F73;&#x5B9E;&#x8DF5;&#xFF0C;&#x4E5F;&#x5341;&#x5206;&#x671F;&#x5F85;&#x4F60;&#x7684;&#x53C2;&#x4E0E;&#x548C;&#x5171;&#x5EFA;&#x3002;</p>
<p>&#x6211;&#x4EEC;&#x57FA;&#x4E8E;&#x4E0A;&#x8FF0;&#x76EE;&#x6807;&#x548C;&#x63D0;&#x4F9B;&#x4E86;&#x4EE5;&#x4E0B;&#x7684;&#x5178;&#x578B;&#x6A21;&#x677F;&#xFF0C;&#x5E76;&#x636E;&#x6B64;&#x6784;&#x5EFA;&#x4E86;&#x4E00;&#x5957;&#x57FA;&#x4E8E; React &#x7684;&#x4E2D;&#x540E;&#x53F0;&#x7BA1;&#x7406;&#x63A7;&#x5236;&#x53F0;&#x7684;&#x811A;&#x624B;&#x67B6;&#xFF0C;&#x5B83;&#x53EF;&#x4EE5;&#x5E2E;&#x52A9;&#x4F60;&#x5FEB;&#x901F;&#x642D;&#x5EFA;&#x4F01;&#x4E1A;&#x7EA7;&#x4E2D;&#x540E;&#x53F0;&#x4EA7;&#x54C1;&#x539F;&#x578B;&#x3002;</p>
<pre><code class="lang-zbt-document">- &#x5DE5;&#x4F5C;&#x53F0;
  - &#x6D88;&#x606F;&#x4E2D;&#x5FC3;
  - &#x7528;&#x6237;&#x7EDF;&#x8BA1;&#x56FE;&#x8868;
  - &#x5E73;&#x53F0;&#x7EDF;&#x8BA1;&#x56FE;&#x8868;

- &#x5BA2;&#x6237;&#x4E2D;&#x5FC3;
  - &#x5BA2;&#x6237;&#x8BE6;&#x60C5;
  - &#x5E02;&#x573A;&#x91C7;&#x8D2D;&#x5BA2;&#x6237;&#x7BA1;&#x7406;
  - &#x5E02;&#x573A;&#x91C7;&#x8D2D;&#x5BA2;&#x6237;&#x8BE6;&#x60C5;
  - &#x94F6;&#x4F01;&#x76F4;&#x8054;
  - &#x5B98;&#x7F51;&#x8BA4;&#x8BC1;&#x4F01;&#x4E1A;
  - &#x5BA2;&#x6237;&#x4E2D;&#x5FC3;&#x9ED1;&#x540D;&#x5355;
</code></pre>
<pre><code class="lang-bash">- Dashboard
  - &#x5206;&#x6790;&#x9875;
  - &#x76D1;&#x63A7;&#x9875;
  - &#x5DE5;&#x4F5C;&#x53F0;
- &#x8868;&#x5355;&#x9875;
  - &#x57FA;&#x7840;&#x8868;&#x5355;&#x9875;
  - &#x5206;&#x6B65;&#x8868;&#x5355;&#x9875;
  - &#x9AD8;&#x7EA7;&#x8868;&#x5355;&#x9875;
</code></pre>
<script type="text/javascript">
//新的gitbook不支持在本地菜单点击了,需要用自己写得js脚本来控制代码菜单点击
window.addEventListener("load", function() {
  var click_handle = function() {
    if (this.href.substr(-5) == ".html") {
      location.href = this.href;
    } else {
      location.href = "./index.html";
    }
  };
  var as = document.querySelectorAll(".chapter a, .navigation-prev, .navigation-next");
  for (var i = 0; i < as.length; i++) {
    as[i].addEventListener("click", click_handle, true);
    as[i].title = as[i].innerText;
  }
});
</script>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="framework_introduction_startup.html" class="navigation navigation-prev " aria-label="Previous page: 第1节：框架介绍与启动">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="布局.html" class="navigation navigation-next " aria-label="Next page: 第3节：布局">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"第2节：目录结构与典型模板","level":"1.2.2","depth":2,"next":{"title":"第3节：布局","level":"1.2.3","depth":2,"path":"Chapter1/布局.md","ref":"Chapter1/布局.md","articles":[]},"previous":{"title":"第1节：框架介绍与启动","level":"1.2.1","depth":2,"path":"Chapter1/framework_introduction_startup.md","ref":"Chapter1/framework_introduction_startup.md","articles":[]},"dir":"ltr"},"config":{"plugins":[],"styles":{"website":"styles/website.css","ebook":"styles/ebook.css","pdf":"styles/pdf.css","mobi":"styles/mobi.css","epub":"styles/epub.css"},"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"family":"sans","size":2,"theme":"white"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"kim","pdf":{"pageBreaksBefore":"/","headerTemplate":"开发文档","paperSize":"a4","margin":{"right":62,"left":62,"top":36,"bottom":36},"fontSize":12,"fontFamily":"Arial","footerTemplate":"开发文档","chapterMark":"pagebreak","pageNumbers":false},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"isbn":"开发文档","variables":{},"title":"开发文档","language":"zh-hans","links":{"sidebar":{"洲博通官网":"https://www.zbtservices.com/"},"sharing":{"all":"开发文档","facebook":"开发文档","google":"开发文档","twitter":"开发文档","weibo":"开发文档"}},"gitbook":"*","description":"洲博通外综服务开发文档","extension":"开发文档"},"file":{"path":"Chapter1/catalog_structure_typical_templates.md","mtime":"2019-08-01T07:59:16.943Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-08-01T08:00:02.422Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

